package org.jet.emall.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.List;

/**
 * 白名单配置
 *
 * @author xiaozai
 * @version 1.0
 * @date 2020-04-13 10:07
 */

@Configuration
@EnableConfigurationProperties(WhiteListConfig.class)
@ConfigurationProperties("custom.security")
public class WhiteListConfig {

    @Setter
    @Getter
    private List<String> whiteList;

}
